Slime goal: a LocalAlerts custom widget
========================================

A chibi slime that fills up with green goo as your goal goes up: it wobbles, the goo's surface rolls, bubbles rise in
it, fizz pops off the surface, and it turns greener the fuller it gets. Happy eyes when the goal's reached.
It counts followers, subs, bits, tips, raiders, channel point redeems, or everything, and remembers its count between
streams.

Add it to LocalAlerts
1. Unzip this folder somewhere it can stay (for example Documents\LocalAlerts widgets\Slime goal).
2. In LocalAlerts: Widgets -> + New widget -> Custom widget (HTML / CSS / JS).
3. Widget folder -> Choose folder... and pick this folder. Choose what fills it and the goal in its settings.
4. It takes its own name and size (400 x 480) from widget.json when you choose the folder.
   Drag it onto your overlay. To change its size, drag the edges of its box on the canvas: it gets more room and
   stays sharp in OBS. (Older versions of LocalAlerts: Look -> Width / Height.)
Try it with the Test buttons (Recent / Triggers): "Count Test events too" is on, so tests fill it. Turn that off before
you go live, then type "!slime reset" in chat.

Chat commands (you and your mods): !slime add 5   !slime set 20   !slime reset

Change it
  widget.json  its name and size when it's added
  fields.json  the settings people can change without code
  index.html   the slime itself, drawn in SVG
  style.css    the title and numbers
  script.js    the counting and every bit of movement
After changing a file, refresh the overlay in OBS (right-click it -> Refresh).

The tutorial that builds it, step by step: https://beta.jayconius.com/build-widgets
Free to use and change for your streams.
